<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>项目工资信息</title>
    <link rel="stylesheet" href="../assets/layui/css/layui.css" media="all">
</head>
<body>
<table class="layui-table" lay-filter="tbFliter" style="margin-top: -10px;" id="tbData">
</table>
</body>
<script src="../assets/layui/layui.js" charset="utf-8"></script>
<script>
    layui.use(['layer', 'table'], function () {
        var $ = layui.jquery,
            table = layui.table,
            layer = layui.layer;
        
        table.render({
            elem: '#tbData'
            // , skin: 'row'   //行边框风格
            // ,even: true //开启隔行背景
            , url: '../page/prolist?time='+new Date()
            , page: false
            , cols: [
                [
                {field: 'projectName', title: '项目名称'}
                    ,{field: 'personNum', title: '项目涉及人数',sort:true,width:200}
                    ,{field: 'yfPay', title: '应发工资',sort:true,width:200}
                    ,{field: 'sfPay', title: '实发工资',sort:true,width:200}
                ]]
            , id: 'tbOptions'
        });

    });
</script>
</html>